﻿Friend Class NativeMethods

    Private Sub New()

    End Sub
    Friend Declare Unicode Function SendMessage Lib "user32.dll" (ByVal hWnd As IntPtr, ByVal messagetype As Integer, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As IntPtr
    Friend Declare Unicode Function FindWindow Lib "user32.dll" (ByVal classname As String, ByVal title As String) As IntPtr
    Friend Declare Unicode Function GetWindowTextLength Lib "user32.dll" (ByVal hWnd As IntPtr) As Integer
    Friend Declare Unicode Function GetWindowText Lib "user32.dll" (ByVal hwnd As IntPtr, ByVal stringbuffer As System.Text.StringBuilder, ByVal bufferlength As Integer) As Integer

End Class
